package com.example.sportgoods.mapper;

import com.example.sportgoods.domain.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopMapper {
    public List<Shop> getAll();
    public Shop selectShopById(Long id);
    public int updateShop(Shop shop);
    // 新增店铺的方法
    public int insertShop(Shop shop);
    // 根据店铺id删除店铺的方法
    public int deleteShopById(Long id);

}